package com.ddone.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ddone
 * @date 2024/4/7-09:53
 */
@Configuration
public class FeignConfig {

    @Bean
    public Logger.Level level(){
        //FULL:详细日志
        //BASIC:简单日志
        //HEADERS：报文头日志
        //NONE: 不输出日志，默认
        //BASIC
        return Logger.Level.FULL;
    }
}
